home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 50
/
Volume 50 - JOGO DISK .iso
/
Games
/
money_maze.swf
/
scripts
/
DefineSprite_420
/
frame_1
/
DoAction.as
Wrap
Text File
|
2007-09-27
|
782b
|
50 lines
function setCaught(bState)
{
if(bState)
{
mcCory.gotoAndPlay("on");
mcTrapped.gotoAndStop("on");
}
else
{
mcTrapped.gotoAndStop("off");
}
}
function setTrapsActive(bState)
{
if(bState)
{
mcTrapsActive.gotoAndStop("on");
}
else
{
mcTrapsActive.gotoAndStop("off");
}
}
function setScore(iScore)
{
if(iScore != score)
{
score = Math.ceil(iScore);
MovieClip.prototype.score = score;
}
}
function getScore()
{
return score;
}
function appendScore(iScore)
{
setScore(score + Number(iScore));
}
function showQuit()
{
mcDialog.showDialog("quit");
_parent.pause();
}
function showHelp()
{
_parent.pause();
mcDialog.showDialog("help");
}